<?php
require $_SERVER['DOCUMENT_ROOT'].'/../_core/common.php';

//权限验证
if( Role::init() == false ){
	exit('没有权限');
}

$db = new DB();

//查询列表
$analytic_codes_sql = 'select id,title from analytic_codes where is_del=1 order by orders desc,id asc';
$analytic_codes_rs = $db->query($analytic_codes_sql)->getAll();

require template('admin/analytic_code/add_code');